﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace MagicalDesktop.Simulation
{
    public class User : NotifyPropertyChanged
    {
        public string Name { get; set; }
        public string Group { get; set; }
        public bool IsOnline { get; set; }
        public string[] ServiceNames { get; set; }
        [XmlIgnore]
        public Service[] Services { get; set; }
        [XmlIgnore]
        public WPFCommand ShowUser
        {
            get
            {
                return new WPFCommand(obj => Shell.Instance.UserButtonClicked(this), obj => true);
            }
        }
    }
}
